package com.ruoyi;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.WebApplicationType;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.ComponentScans;
import org.springframework.scheduling.annotation.EnableScheduling;

/**
 * @author 蒋翔 SY100242
 * @date 2024/8/5 13:37
 * @email SY100242@hnlens.com
 */
@SpringBootApplication
@MapperScan("com.ruoyi.tcp.mapper")
@EnableScheduling
public class TcpApplication {

    public static void main(String[] args) {
        SpringApplication springApplication = new SpringApplication(TcpApplication.class);
        springApplication.setWebApplicationType(WebApplicationType.NONE);
        springApplication.run(args);
    }
}
